package com.dnzx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.dnzx.model.OperationBO;

@Repository
public interface IOperationDao {

	public void save(OperationBO operationBO);

	public void delete(Long id);
	
	public void deleteByCategoryId(Long categoryId);

	public void update(OperationBO operationBO);

	public OperationBO get(Long id);

	public List<OperationBO> queryList(OperationBO operationBO);

	public List<OperationBO> queryPage(@Param("pageSize") int pageSize,
                                      @Param("startRow") int startRow, @Param("bo") OperationBO bo);
	
	public int queryCount(OperationBO operationBO);

}
